module.exports = {
    pluginOptions: {
      'style-resources-loader': {
        preProcessor: 'scss',
        patterns: []
      }
    },
    devServer: {
      host: 'localhost',
      public: '127.0.0.1:8001',
      port: 8001,
      open:true,
      proxy: {
        '/api': {
          target: process.env.VUE_APP_API_HOST,// 要跨域的域名
          changeOrigin: true,
          pathRewrite: {
            '^/api': '/'
        }
      }
    }
  }
}
